#ifndef MUSINKSONG_H
#define MUSINKSONG_H


#include <string>
using std::string;

class MusinkSong
{
	public:
		//def initialize( filepath,artist,album,title,duration,hash,playcount,rating,last_played)
		string filePath;
		string artist;
		string album;
		string title;
		int duration;		//In seconds, rounded up if > 0.000
		string hash;		//figured out by the Server.  Coder will always use MusinkSubmitter.getSong() to obtain this object
		int playCount;
		double rating; //out of 10.0
		string lastPlayed; //format: YYYYMMDD HH:mm:ss , YYYY = #### MM = 00-12, DD=00-30, HH =00-23 mm=00-59, ss=0-59

		MusinkSong(){};
		MusinkSong(string &inFilePath)
		{
			filePath = inFilePath;
		}
		
		MusinkSong(const string& inFilePath, const string& inArtist, const string &inAlbum, const string &inTitle, const int &inDuration, 
			const string &inHash, const int & inPlayCount, const double& inRating, const string &inLastPlayed) 
		{ 
			filePath = inFilePath;
			artist = inArtist;
			album = inAlbum;
			title = inTitle;
			duration = inDuration;
			hash = "";
			playCount = inPlayCount;
			rating = inRating;
			lastPlayed = inLastPlayed;
		}

	private:

//		MusinkSong(const MusinkSong&);

	
};

#endif